<include file="../Public/header_user" />
<script type="text/javascript">
jQuery(function(){
	jQuery("#form_edit").valid([
		{ name:"suser_password",type:"password",simple:"密码",min:5,max:20},
		{ name:"suser_passwordconform",type:"eq",simple:"重复密码", to:"suser_password"},
		{ name:"suser_idnumber",type:"number",simple:"身份证号"},
		{ name:"suser_tel",type:"number",simple:"联系电话"},
		{ name:"suser_email",type:"mail",simple:"电子邮箱"},
		{ name:"suser_qq",type:"qq",simple:"QQ号码"},
		{ name:"verify",type:"number",simple:"验证码"},
        { name:"store_category",type:"engorchn",simple:"经营类别",min:1,max:10}
	]);
})

</script>
</head>

<body>
<div id="body">
    <div id="reg_main">
    <form method="post" id="form_edit" name="form_edit" action="__URL__/editMaterial" >
        <img src="__PUBLIC__/Images/logo.jpg"/><span class="title">资料修改</span>
        <ul>
            <li class="errmsg" style="<notpresent name="errmsg">display:none;</notpresent>">{$errmsg}</li>
            <li><span class="reg_title">用户名：</span><input type="text" name="store_name" id="store_name" value="{$vo.store_name}" /></li>
            <li><span class="reg_title">密码：</span><input type="password" name="suser_password" id="suser_password" /></li>
            <li><span class="reg_title">重复密码：</span><input type="password" name="suser_passwordconform" id="suser_passwordconform" /></li>
            <li><span class="reg_title">电话：</span><input type="text" name="suser_tel" id="suser_tel"  value="{$vo.suser_tel}"/></li>
            <li><span class="reg_title">邮箱：</span><input type="text" name="suser_email" id="suser_email" value="{$vo.suser_email}"/></li>
            <li><span class="reg_title">QQ：</span><input type="text" name="suser_qq" id="suser_qq" value="{$vo.suser_qq}"/></li>
            <li><span class="reg_title">地址：</span><input type="text" name="store_address" id="store_address" value="{$vo.store_address}"/></li>
            <li style="height:60px;"><span class="reg_title">关键字：</span><textarea name="store_keyword">{$vo.store_keyword}</textarea></li>
        </ul>
        <div style="height:20px;">
        <input type="hidden" name="store_id" value="{$vo.store_id}"/><input type="hidden" name="suser_id" value="{$vo.suser_id}"/> 
        <input class="reg_submit" type="submit" value="确定修改"/><input class="reg_cancel" type="reset" value="取消"/>
        </div>
    </form>
   </div>
</div>
<include file="../Public/foot" />
